package petstore.persistence.user;

import petstore.persistence.user.User;

import java.util.List;

public interface UserDAO
{
    public List<User> Find_All_User();

    public User FindUserByUsernameAndPassword(String username,String password);

    public User FindUserByUser_id(int user_id);

    public boolean UpdataUserdata(int user_id,String categoryId);

    public boolean InsertUser(User user);

    public boolean FindUserByUsername(String username);

    public boolean UpdataUserKey(int user_id);

}
